<div>Новости</div>
<div>
	<table border="1" style="border-collapse: collapse;">
		<thead>
			<tr>
				<td>№№</td>
				<td></td>
				<td></td>
				<td>Категория</td>
				<td>Название</td>
				<td>Цена</td>
				<td>Наличие</td>
			</tr>
		</thead>
		<tbody>
		<?php
			$i = 1; 
			foreach ($this->products as $product) { ?>
			<tr>
				<td><?php echo $i; ?></td>
				<td><a href="<?php echo $this->url(array('productId'=> $product->id),'adminProductForm'); ?>">Редактировать</a></td>
				<td><a href="<?php echo $this->url(array('productId'=> $product->id),'adminProductDelete'); ?>">Удалить</a></td>
				<td><?php echo $product->catname ?></td>
				<td><?php echo $product->title ?></td>
				<td><?php echo $product->price ?></td>
				<td><?php echo $product->isplacetext ?></td>
			</tr>
		<?php
			$i++; 
			} ?>
		</tbody>
	</table>
	<div><a href="<?php echo $this->url(array('productId'=> 0),'adminProductForm'); ?>">Добавить</a></div>
</div>